<?php
/**
 * BKloud Framework
 * Index file
 * 
 * LICENSE:
 * BKloud Framework duoc xay dung va phat trien boi nhom BKloud - dai hoc bach khoa Ha Noi 
 * Ban duoc phep su dung framework nay cho muc dich hoc tap , nghien cuu va cac ung dung phi thuong mai
 * 
 * @copyright Copyright (c) 2011 BKloud - HPCC.
 * @version 0.1
 */
//Define site path
defined('SITE_PATH')
    || define('SITE_PATH', realpath(dirname(__FILE__)));

//Define  path to application directory
defined('APPLICATION_PATH')
    || define('APPLICATION_PATH', realpath(SITE_PATH . '/application'));

// Ensure library is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(SITE_PATH . '/library'),
    get_include_path(),
)));

//include common file
require_once APPLICATION_PATH.'/configs/common.php';

//Create application, and run
$application = new Core_Application($config);
$application->run();



